<?php

/**
 * params.php
 *
 */
return array(
    // cache settings -if APC is not loaded, then use CDbCache
    'cache.core' => extension_loaded('apc') ? array('class' => 'CApcCache',) : array('class' => 'CDbCache', 'connectionID' => 'db', 'autoCreateCacheTable' => true, 'cacheTableName' => 'cache'),
    'cache.content' => array(
	'class' => 'CDbCache',
	'connectionID' => 'db',
	'autoCreateCacheTable' => true,
	'cacheTableName' => 'cache',
    ),
    'cache.file' => array('class' => 'system.caching.CFileCache',),
    'php.exePath' => '/usr/bin/php',
    'db.connect' => array(
	'connectionString' => 'mysql:host=localhost;dbname=datingwebsite',
	'emulatePrepare' => true,
	'username' => 'root',
	'password' => '',
	'charset' => 'utf8',
	'tablePrefix' => 'dating_',
	'schemaCachingDuration' => YII_DEBUG ? 0 : 86400000, // 1000 days
    ),
    'settings' => array(
	'class' => 'common.extensions.settings.CmsSettings',
	'cacheComponentId' => 'cache',
	'cacheId' => 'global_website_settings',
	'cacheTime' => 84000,
	'tableName' => '{{settings}}',
	'dbComponentId' => 'db',
	'createTable' => false,
	'dbEngine' => 'InnoDB',
    ),
    'Paypal' => array(
	'class' => 'common.components.Paypal',
	'apiUsername' => 'onelastbreath66_api1.gmail.com',
	'apiPassword' => '1370577866',
	'apiSignature' => 'AFcWxV21C7fd0v3bYYYRCpSSRl31ArnciY37ZW9d6Gzg7i0ujW4lyIOD',
	'apiLive' => false,
	'returnUrl' => 'paypal/confirm/', //regardless of url management component
	'cancelUrl' => 'paypal/cancel/', //regardless of url management component
	// Default currency to use, if not set USD is the default
	'currency' => 'USD',
    // Default description to use, defaults to an empty string
    //'defaultDescription' => '',
    // Default Quantity to use, defaults to 1
    //'defaultQuantity' => '1',
    //The version of the paypal api to use, defaults to '3.0' (review PayPal documentation to include a valid API version)
    //'version' => '3.0',
    ),
    'pageSize' => 20
);